-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added argument for newly needed API token #5
base: master
Are you sure you want to change the base?
Conversation
addet option to provide token
forgot token
forgot token a second time. Need more Coffee
forgot to change readme
Hi @aSilentSniper, |
I've tried your patched version. Works like a charm. Thanks! |
When pasting an empty, or wrong token, the check script crashes:
Unfortunately, the Pihole API answers with a HTTP status code 200. So there's only checking for an empty result I think. Having my patch applied, the output is:
Maybe you wanna add this patch in this PR. (Apologies if this is not the best method for sharing the patch.) |
added check for empty or wrong token
@wopfel Thanks for your Patch it is working and i added it to this PR |
I added the needed token to the script